/* @(#)GSAccountDownAction.java    V0.1
 *
 * Project: NEWGS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen         2006-5-23
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.action;

import com.hitrust.gs.form.GSAccountMonthForm;
import com.hitrust.gs.lib.GSBaseConstants;
import com.hitrust.gs.service.GSBaseAction;
import com.hitrust.gs.service.GSBaseForm;
import com.hitrust.gs.vo.GSAccountMonthVO;

/**
 * 显示对帐浏览下载
 */
public class GSAccountDownAction extends GSBaseAction{

    
    public String execute(GSBaseForm aForm) throws Exception {
        
        GSAccountMonthForm tForm = (GSAccountMonthForm)aForm;
        GSAccountMonthVO tGSAccountMonthVO=new GSAccountMonthVO();
        
        tGSAccountMonthVO.orderDeptId = tForm.orderDeptId;
        tGSAccountMonthVO.deliverGoodsId = tForm.deliverGoodsId;
        tGSAccountMonthVO.manufInfo = tForm.manufInfo;
        tGSAccountMonthVO.concentricityId = tForm.concentricityId;
        tGSAccountMonthVO.providerid = tForm.providerid;
        tGSAccountMonthVO.startdate = tForm.startdate;
        tGSAccountMonthVO.enddate = tForm.enddate;
        tGSAccountMonthVO.year = tForm.year;
        tGSAccountMonthVO.month = tForm.month;
        
        aForm.getRequest().setAttribute("GSAccountMonthVO",tGSAccountMonthVO);
        
        return GSBaseConstants.FORWARD_SUCCESS;
    }

}
